#pragma once

#include <cstdint>

class SkCanvas;
class SkiaFramework;
class ISkiaControl {
public:
    virtual ~ISkiaControl() = default;
    virtual bool IsContain(int32_t x, int32_t y) { return false; }
    virtual void OnMouseMotion(int32_t x, int32_t y) {}
    virtual void OnMouseDown(int32_t x, int32_t y) {}
    virtual void OnMouseUp() {}
    virtual void OnClick(int32_t x, int32_t y) {}
    virtual void OnDraw(SkCanvas &canvas) {}
};
